home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Commodore Free 15
/
Commodore_Free_Issue_15_2008_Commodore_Computer_Club.d64
/
t.c< ref guide
< prev
next >
Wrap
Text File
|
2023-02-26
|
7KB
|
251 lines
u
Downloaded from
www.commodorefree.com
Commodore 64 Reference Guide
Originally compiled by:
-----------------------
Nigel Parker (commodore free)
www.commodorefree.com
Alan Bairstow (Commodore Scene)
www.commodorescene.org.uk
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
COMMODORE FILE TYPES AND USES
---------------------------------------
DEL Deleted file
PRG Program file
SEQ Sequence file
(text file)
REL Relative file
(data file)
COMMODORE 64 BASIC DISK COMMANDS
---------------------------------------
Format a new disk:
OPEN1,8,15,N0:DISKNAME,ID:CLOSE 1
Load a file LOAD FILENAME,8
Load 1st disk file LOAD :*,8
Load and run file LOAD FILENAME,8,1
Save a file SAVE FILENAME,8
Save and replace SAVE @0:FILENAME,8
Verify disk file VERIFY FILENAME,8
Directory listing LOAD $,8 then LIST
Redirection CMD
EXAMPLE:
Redirect directory listing to a serial
printer: OPEN 1,4:CMD 1:LIST:CLOSE 1
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
COMMODORE 128 BASIC DISK COMMANDS
---------------------------------------
Formatting a disk HEADER
diskname,LID,Ddrivenumber,ON,
Udevicenumber
Load a file DLOAD filename,8
Saving a file DSAVE filename,8
Verifying a file DVERIFY filename,8
Disk Directory DIRECTORY
COMMODORE DOS WEDGE DISK COMMANDS
---------------------------------------
Wildcards ? Match any char E.G
DO? could match DOG or DOC
* Match the rest of
the name E.G D* could match
DOG or DUG
Format a new disk @NEW0:diskname,ID
Save a file <filename
Load a file /filename
Load and run file ^filename
Load MC file %filename
Scratch file @S:filename
Rename @R:newname=oldname
Check disk @
Validate @V
Directory @$
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
DATEL ACTION REPLAY DISK COMMANDS
---------------------------------------
Load a file F1
Load + run file F2
Load Directory F3
List Directory F5
Run F7
Load a file /filename
Load +run a file ^filename
Verify file &filename
Save a file &Filename
Save File warp &Filename,w
Read Disk error @ or @8 or @9
Initialize disk @I
Validate disk @V
Rename a file @R:NEWNAME=OLDNAME
Clear directory @N:NAME
Format a disk @N:NAME,ID
Display directory @$ or $
(Scratch) a file @S:filename
Change disk id + name @H:NAME,ID
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
JIFFY DOS DISK COMMANDS
---------------------------------------
FUNCTION KEYS:
F1 = @$:* Display the directory of the
currently selected device
F2 = @D List a BASIC program
F3 = / Load a BASIC Program
F4 = @T List an ASCII text file
F5 = ^ Load a BASIC program
F6 = <Save a BASIC program
F7 = % Load a Machine Language program
F8 = @S: Scratch a file
STANDARD JiffyDOS COMMANDS:
---------------------------------------
Set device @#8 Selects current drive as
device #8
Display directory: @$
Display directory @$:name (Display all
files with name in their filename) in
BASIC @$:N* Display all files with N
in their filename
Read error channel: @ Returns error
code from currently selected device
RAMLink @CPnumber Temporarily
change the default partition number
Load file: @^ Load & run
first file on disk
Load + run first Runstop + SHIFT
file on disk
/ filename Loads file
^ filename Load and run file
% filename Load a machine language file
(British Pound Sign)filename Load &
Run machine
language file
Saving BASIC file: < filename
List program on disk: @D:filename)
List ASCII file: @T:filename
Un-New program: @O
Initializing drive: @I
Reset Disk Drive: @UJ
Validate Disk: @V
Format Disk: @N:name,ID
Fast format disk @N0:
Format 2 sided disk @N2:name,i
Copy file on same disk @C:newfile=file
Disable head bump @B
Copy file: @C:n=o Copy file
o to new file n, will only
work on same disk
Combine text file @C:n=o,p Create
new file n by combining files
o & p
Rename file @R:n=o Rename
file o with filename n
on current drive
Scratch files @S:file Deletes
file on currently
selected drive
Lock/Unlock Files @L:file Locks
file so that it cannot
be scratched *Repeat
command to unlock file
Output to printer @P Repeat
command to return
output to screen
@P,d,a Send to
printer at d device, &
a secondary address)
a=0 (uppercase/
graphics printing)
a=7 (uppercase/lower
case printing)
Print text screen CONTROL & P
Change default drive CONTROL & D
Toggles available drives
Toggle all file copy CONTROL A
Default drive toggle CONTROL D
single file for copy CONTROL W
LOAD & RUN 1st disk prog SHIFT RUN/STOP
Re-enable JiffyDOS SYS58451
Re-enable function keys SYS58551
Re-enable (128 mode) SYS65137
Short new @N:diskname
Disable Jiffydos @Q
Rename a file @R:newname=
oldname
Display disk Directory @$
Enable Function Keys @F
Set Interleave gap size @G
Lock / Unlock @L:filename
Set Destination Device @X
Verify Filename 'filename
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
IDE64 DISK COMMANDS
---------------------------------------
FILE MANAGER
File manager MAN
Directory 1
View file 3
Copy file 5
Rename a file 6
Make directory 7
Delete file 8
Swap windows CONTROL
Page up F1 or CRSR <
Home F2 or HOME
Page down F7 or CRSR >
End F8 or CLR
Move Cursor CRSR up/down
Select all +
Unselect all -
Select some files INS/DEL
Load and run file RETURN
Load a program SHIFT+RETURN
LOAD volume root /
Open or close CD ^
Quit application <
IDE64 C= BASIC COMMAND EXTENSIONS
---------------------------------------
Initialize one device INIT
Initialize two devices INIT2
Change directory CD directory
path,DN
Directory Unix style LL path,DN
Directory c64 style DIR,DN
Make directory MKDIR
pathname,DN
Delete file RM name,DN
Print time & date DATE
Swap device numbers CHANGE (floppy
now device 10
ide64 device
now 8)
Open CD tray CDOPEN
Close CD tray CDCLOSE
Deactivate IDE 64 KILL